package com.example.decorator;

/**
 * @version 1.0.0
 * @className: Cream
 * @description:
 * @author: rosszhang
 * @date: 2022/5/13 10:10
 */
public class Cream extends Food {
    private Food basicFood;

    public Cream(Food basicFood) {
        this.basicFood = basicFood;
    }

    @Override
    public String make() {
        return basicFood.make()+"+奶油";
    }
}
